<!DOCTYPE html>
<html xmlns:th="https://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>历史订单</title>
<script type="text/javascript" th:src="@{/bootstrap3/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/jquery.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/bootstrap.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/npm.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/popper.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/popper.min.js}"></script>
<script type="text/javascript" th:src="@{/js/roombook.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap3/js/bootstrap-popover.js}"></script>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap-theme.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap-theme.min.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/bootstrap3/css/bootstrap.min.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/css/index.css}" />
</head>
<body>
<div id="" class="container-fluid">
	<div id="" class="panel">
		<div id="" class="panel-body" style="align-self: 450px;overflow: auto;">
			<table class="table table-responsive">
				<thead>
					<tr>
						<th>序号</th>
						<th>订单号</th>
						<th>房间号</th>
						<th>联系人</th>
						<th>邮箱</th>
						<th>电话</th>
						<th>创建时间</th>
						<th>开始时间</th>
						<th>结束时间</th>
					</tr>
				</thead>
				<tbody>
					<tr th:each="historysub,historySta:${historysubs}">
						<td th:text="${historysub.subscription.id}"></td>
						<td th:text="${historysub.subscription.no}"></td>
						<td th:text="${historysub.room.no}"></td>
						<td th:text="${historysub.subscription.linkman}"></td>
						<td th:text="${historysub.subscription.email}"></td>
						<td th:text="${historysub.subscription.phone}"></td>
						<td th:text="${#dates.format(historysub.subscription.cretime, 'yyyy-MM-dd HH:mm:ss')}"></td>
						<td th:text="${#dates.format(historysub.subscription_dtl.sdate, 'yyyy-MM-dd HH:mm:ss')}"></td>
						<td th:text="${#dates.format(historysub.subscription_dtl.edate, 'yyyy-MM-dd HH:mm:ss')}"></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
</body>
</html>
